package com.dhl.fin.api.domain;

import com.dhl.fin.api.common.annotation.BusinessId;
import com.dhl.fin.api.common.annotation.ExcelTitle;
import com.dhl.fin.api.common.domain.BasicDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by CuiJianbo on 2020.08.01.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity
@Table(name = "t_stock_v")
public class BasicAspect extends BasicDomain {


    /**
     * 沪市
     *
     */
    @BusinessId
    @ExcelTitle(name = "股票代码")
    @Column(columnDefinition = "varchar(8)")
    private String code;

    //公司名字
    @ExcelTitle(name = "股票简称")
    @Column(columnDefinition = "varchar(20)")
    private String name;

    //市盈率
    private Double pe;

    //总市值
    @ExcelTitle(name = "总市值")
    private Double totalMarketValue;

    //总股本
    @ExcelTitle(name = "总股本")
    @Column(columnDefinition = "varchar(10)")
    private Double totalStock;

    //每股收益(Earnings Per Share)
    @ExcelTitle(name = "基本每股收益")
    private Double eps;

    //利润总额(同比增长率)
    @ExcelTitle(name = "利润总额(同比增长率)")
    private Double profitRatio;

    //销售毛利率
    @ExcelTitle(name = "销售毛利率")
    private Double saleProfitRatio;


    //营业总收入同比增长率
    @ExcelTitle(name = "营业总收入(同比增长率)")
    private Double totalIncomeRatio;


    //资产负债率
    @ExcelTitle(name = "资产负债率")
    private Double debtAssetRatio;


    //营业利润/营业总收入
    @ExcelTitle(name = "营业利润/营业总收入")
    private Double incomeOfTotal;


    //营业总成本/营业总收入
    @ExcelTitle(name = "营业总成本/营业总收入")
    private Double coastOfTotal;


    //所属行业
    @ExcelTitle(name = "所属行业")
    private String trade;


    //年度累计单位分红
    @ExcelTitle(name = "年度累计单位分红")
    private Double bonus;

    private int year;

    //存货周转率
    private Double inventoryTurnover;

    //每股经营活动产生的现金流量净额
    private Double cashPerStock;

    //每股未分配利润
    private Double nonProfitPerStock;


    //净利润
    private Double profit;








}
